package com.mydesignpattern.beijing.factory.factorymethod.factorys;

import com.mydesignpattern.beijing.factory.factorymethod.Factory;
import com.mydesignpattern.beijing.factory.factorymethod.cars.Car;
import com.mydesignpattern.beijing.factory.factorymethod.cars.SportCar;

/**
 * Created by nevermore on 17/4/16.
 */
public class FactorySportCar implements Factory {
    @Override
    public Car getCar() {
        return new SportCar();
    }
}